﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LCA.Common.Calculation
{
    public class CalResult
    {
        public CalResult()
        {

        }
        public bool Result
        {
            get;
            set;
        }

        public string Data
        {
            get;
            set;
        }

        public string Hotspot
        {
            get;
            set;
        }
    }

    public class ImpactFactorCalculationResult
    {
        public string FactorName
        {
            get;
            set;
        }

        public Guid FactorId
        {
            get;
            set;
        }

        public decimal Impact
        {
            get;
            set;
        }

        public string UnitName
        {
            get;
            set;
        }

        public string IndicatorId
        {
            get;
            set;
        }
    }

    public class HotspotResult
    {
        public string FactorName
        {
            get;
            set;
        }

        public Guid FactorId
        {
            get;
            set;
        }

        public List<HotspotRow> Rows
        {
            get;
            set;
        }

    }

    public class HotspotRow
    {
        public string ItemName
        {
            get;
            set;
        }

        public string ItemUrl
        {
            get;
            set;
        }

        public string ItemType
        {
            get;
            set;
        }

        public decimal Emission
        {
            get;
            set;
        }

        public string Source
        {
            get;
            set;
        }
    }

    public class ParentRow
    {
        public Guid ParentId
        {
            get;
            set;
        }

        public Source Source
        {
            get;
            set;
        }
    }
}
